using CSV
using DataFrames
include("lib/pfim/pfim.jl")
df = DataFrame(CSV.File("data/toarcian_subset.csv"))
pfim_network = PFIM(df)
randomdraws(pfim_network)A binary unipartite network
→ 11 interactions
→ 12 species
Fricke et al. (2022) methods discuss how in the “using functional traits (especially binary or categorical traits), one can overestimate the ecological similarity of species, and thus the similarity of interaction patterns”.
The Paleo Food web Inference Model (PFIM, Shaw et al. (2024)) uses a series of rules for a set of trait categories (such as habitat and body size) to determine if an interaction can feasibly occur between a species pair.
using CSV
using DataFrames
include("lib/pfim/pfim.jl")
df = DataFrame(CSV.File("data/toarcian_subset.csv"))
pfim_network = PFIM(df)
randomdraws(pfim_network)A binary unipartite network
→ 11 interactions
→ 12 species